package com.sxfans.thread;

public class UnsafeSequence {
	private int value = 0;
	
	public synchronized int getNext()
	{
		return value++;
	}
}
